package com.message;

import com.constant.MessageType;
import lombok.Data;

import java.util.List;

@Data
public class ChatGroupCreateMessage extends DefaultMessage{

    private String groupName;

    private List<String> initGroupMembers;

    public ChatGroupCreateMessage() {
    }

    public ChatGroupCreateMessage(String groupName, List<String> initGroupMembers) {
        this.groupName = groupName;
        this.initGroupMembers = initGroupMembers;
    }

    @Override
    public int getMessageType() {
        return MessageType.GROUP_CREATE_REQUEST;
    }
}
